//
//  RefundListModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/9/18.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OrderGoodsModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface RefundListModel : NSObject

/*
 {
                 businessRefundAmount = "3149.5";
                 createTime = "2020-09-23 18:59:12";
                 createUser = 7995583426675146752;
                 deposit = "0.00";
                 orderNo = F2020092306582016513;
                 orderSubNo = B2020092306591248775;
                 orderType = 1;
                 payAmount = "";
                 refundAmount = "5871.3";
                 refundNo = T2020092306591230777;
                 refundReasonId = 7994766516846002176;
                 refundRemark = "7\U5929\U65e0\U7406\U7531";
                 refundRemarkFlow = "";
                 refundStatus = 1;
                 refundType = "";
                 refundTypeId = 1;
                 remark = "Hjsjdjkk ";
                 rfId = 7997063596022444032;
                 sellerId = 7994457257277980672;
                 sellerLogo = "";
                 sellerName = "\U5408\U80a5\U5a5a\U7eb1\U6444\U5f71";
                 sysMediaList = "";
                 totalAmount = "6299.00";
                 type = "";
                 uosOrderNo = R2020092306591295710;
                 uosType = 6;
                 updateTime = "";
                 updateUser = "";
                 userId = 7995583426675146752;
                 userLogo = "";
                 userNickName = "\U7528\U62370012";
                 userOrderGoodsList =
                 userRefundAmount = 6299;
             },
 },
 */

@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *rfId;


//关联父订单单号
@property (nonatomic, copy) NSString *orderNo;
//退款其他说明
@property (nonatomic, copy) NSString *refundRemark;
//退款审核备注
@property (nonatomic, copy) NSString *refundRemarkFlow;


@property (nonatomic, copy) NSString *remark;

@property (nonatomic, copy) NSString *sellerId;
@property (nonatomic, copy) NSString *sellerLogo;
@property (nonatomic, copy) NSString *sellerName;



//状态（1：已申请，2：商家同意，3：商家拒绝，4：平台同意，5：平台拒绝，6：退款中，7：退款成功，8：退款失败）
@property (nonatomic, assign) NSInteger refundStatus;

@property (nonatomic, assign) NSInteger refundTypeId;
//订单类型
@property (nonatomic, assign) NSInteger orderType;

@property (nonatomic, assign) NSInteger refundNo;


@property (nonatomic, copy) NSString *uosType;

@property (nonatomic, copy) NSString *uosOrderNo;

@property (nonatomic, assign) double userRefundAmount;



//定金
@property (nonatomic, assign) double deposit;
//实付金额
@property (nonatomic, assign) double payAmount;
//退款金额
@property (nonatomic, assign) double refundAmount;




@property (nonatomic, assign) double totalAmount;



@property (nonatomic, strong) NSMutableArray <OrderGoodsModel *>* userOrderGoodsList;


@end

NS_ASSUME_NONNULL_END
